package com.qztech.sdk.model.entities;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.annotation.NonNull;

/**
 * @author:zhanghb
 * @date:2019/2/22
 * @email:2573475062@qq.com
 **/
@Entity(tableName = "xover_setting")
public class XoverSetting  implements Cloneable{
    @PrimaryKey(autoGenerate = true)
    private long id;
    @ColumnInfo(name = "p_id")
    private String profileId;

    @ColumnInfo(name = "setting_id")
    @NonNull
    private String settingId;

    public XoverSetting() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getProfileId() {
        return profileId;
    }

    public void setProfileId(String profileId) {
        this.profileId = profileId;
    }

    @NonNull
    public String getSettingId() {
        return settingId;
    }

    public void setSettingId(@NonNull String settingId) {
        this.settingId = settingId;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
